cos — Cosine


\begin{rail}
Cosine : 'cos' '(' ( Scalar \vert Matrix ) ')' ;
\end{rail}
cos calculates the cosine of the argument, which is taken as being specified in radians. If the argument is a matrix, the cos operation is performed element by element. If the argument is complex, given by z, then the result is:

cos(ℜ(z))cosh(ℑ(z)) - j sin(ℜ(z))sinh(ℑ(z))



Subsections